package net.xju3_4.service.impl;

import net.xju3_4.dao.AdminDao;
import net.xju3_4.service.AdminChangePasswordService;

public class AdminChangePasswordImpl implements AdminChangePasswordService {
     private AdminDao adminDao=new AdminDao();
    @Override
    public int changePassword(Integer id, String oldPassword, String newPassword) {
       return adminDao.changePassword(id,oldPassword,newPassword);
    }
}
